package com.dzl.goods.service.impl;

import com.dzl.goods.pojo.WelfareGoodsAttrGroup;
import com.dzl.goods.dao.WelfareGoodsAttrGroupMapper;
import com.dzl.goods.service.WelfareGoodsAttrGroupService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.dzl.base.service.BaseServiceImpl;

import java.util.List;

/**
 * 商品属性组表(WelfareGoodsAttrGroup)表服务实现类
 * @author ChenLong
 * @date 2021-05-29 19:20:08
 */
@Service
public class WelfareGoodsAttrGroupServiceImpl extends BaseServiceImpl<WelfareGoodsAttrGroup> implements WelfareGoodsAttrGroupService {

    @Autowired
    private WelfareGoodsAttrGroupMapper mapper;

    @Override
    public int deleteGoodsAttrGroupByGroupId(List<Integer> groupIdList) {
        return mapper.deleteGoodsAttrGroupByGroupId(groupIdList);
    }

    @Override
    public int insertGoodsAttrGroupList(List<WelfareGoodsAttrGroup> list) {
        return mapper.insertGoodsAttrGroupList(list);
    }
}